<form id="edit-form" class="layui-form" lay-filter="edit-form" onsubmit="return false;">
    <input type="hidden" name="id" value="#(bean.id??)">
    <div class="layui-card">
        <div class="layui-card-body">
            <div class="layui-form-item">
                <label class="layui-form-label required">岗位编码</label>
                <div class="layui-input-inline">
                    <input type="text" name="code" value="#(bean.code??)" lay-verify="required" autocomplete="off" placeholder="请输入岗位编码" class="layui-input">
                </div>
                <label class="layui-form-label required">状态</label>
                <div class="layui-input-inline">
                    <input type="radio" name="status" value="ON" title="启用" #if(bean.status?? == 'ON' || bean.status?? == null) checked #end>
                    <input type="radio" name="status" value="OFF" title="禁用" #if(bean.status?? == 'OFF') checked #end>
                </div>
            </div>
            <div class="layui-form-item">
                <label class="layui-form-label required">岗位名称</label>
                <div class="layui-input-inline">
                    <input type="text" name="name" value="#(bean.name??)" lay-verify="required" autocomplete="off" placeholder="请输入岗位名称" class="layui-input">
                </div>
                <label class="layui-form-label required">排序</label>
                <div class="layui-input-inline">
                    <input type="text" name="sort" value="#(bean.sort??)" lay-verify="required" autocomplete="off" placeholder="小到大排列" class="layui-input">
                </div>
            </div>
        </div>
    </div>
    <div class="layui-form-item" style="display: none;">
        <div class="layui-input-block">
            <button id="submit-button" type="submit" class="layui-btn layui-btn-sm" lay-submit lay-filter="submit-button">
                <i class="layui-icon layui-icon-ok"></i> 提交
            </button>
        </div>
    </div>
</form>
#include("/admin/_common/foot.html")
